package com.example.riceexambackend.controller.param.exam;

import com.fasterxml.jackson.annotation.JsonFormat;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 自动组卷参数对象
 * @author ricejson
 */
@Data
public class ExamAutoParam implements Serializable {
    @NotNull(message = "试卷id不得为空!")
    private Long examId; // 试卷id
    @NotNull(message = "单选题数量不得为空!")
    private Integer singleCount; // 单选题数量
    @NotNull(message = "判断题数量不得为空!")
    private Integer judgeCount; // 判断题数量
    @NotNull(message = "主观题数量不得为空!")
    private Integer subjectCount; // 主观题数量
}
